package com.fjnldx.mes.domain.domainRes.alarm;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 告警列表响应值
 */
@Data
public class AlarmPageRes {
    //标识
    private Integer id;
    
    //名称
    private String name;
    
    //编号
    private String code;
    
    //规则数量
    private Integer ruleNumber;
    
    //是否启用
    private Boolean isActive;
    
    //创建时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
